<div class="container login_container">
    <div class="row">
        <div class="cf-content clearfix">
            <h1 class="login-title">官方管理后台</h1>
            <div class="content">
                <form role="form" class="form-group " data-ng-submit="loginCtrl.login(loginForm)" name="loginForm" novalidate>
                    <div class="form-group input-group">
                        <span class="input-group-addon">
                            <span class="glyphicon glyphicon-user"></span>
                        </span>
                        <input data-ng-model='loginCtrl.user.username' name="loginname" class="form-control cf-single-input" type="text" placeholder="用户名/手机号/邮箱" required>                      
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon">
                            <span class=" glyphicon glyphicon-lock" ></span>
                        </span>
                        <input data-ng-model='loginCtrl.user.password' name="password" class="form-control cf-single-input" type="password" placeholder="密码" required>                        
                    </div>
                    <div class="form-group mt-md">
                        <button class="col-xs-12 cf-button cf-button-success" data-ng-click="loginCtrl.login(loginForm)">登陆</button>
                    </div>
                </form>
            </div>           
        </div>
    </div>
</div>
<cf-footer class='navbar-fixed-bottom'></cf-footer>
<!-- 弹窗 -->
<script type="text/ng-template" id="InfoModel">
    <div class="modal-info" data-ng-class="{'error':type=='error','success':type=='success','info':type=='info'}">
    <span><i  data-ng-class="{'glyphicon glyphicon-remove':type=='error','glyphicon glyphicon-ok':type=='success','glyphicon glyphicon-minus':type=='info'}"></i></span>
    <h3 class="text-center modal-title" data-ng-bind="::info"></h3>
    </div>
</script>
<!-- 图片弹窗 -->
<script type="text/ng-template" id="ReviewImgModel">
    <div class="modal-header" data-ng-click="cancel()">
    <img ng-src="{{path}}" alt=""></div>
</script>
<!-- 确认弹窗 -->
<script type="text/ng-template" id="EnsureModel">
    <div class="modal-header">
    <h3 class="text-center modal-title">确认<span ng-bind='::item'></span></h3>
    </div>
    <div class="modal-footer">
    <a class="cf-button cf-button-danger pull-right" ng-click="ok()">确定</a>
    <a class="cf-button cf-button-default pull-left" ng-click="cancel()">取消</a>
    </div>
</script>
<!-- 选择弹窗 -->
<script type="text/ng-template" id="SelectModel">
    <div class="modal-header"><h2 class="text-center">行业列表</h2></div>

    <form class="modal-body clearfix">
    <div class="col-xs-6">
    <select class="form-control" ng-change='initSecondData()' data-ng-model='field.firstField' data-ng-options="g.id as g.name for g in field.firstFieldList"></select>
    </div>
    <div class="col-xs-6">
    <select class="form-control"  data-ng-model='field.secondField' data-ng-options="g.id as g.name for g in field.secondFieldList"></select>
    </div>


    </form>
    <div class="modal-footer">
    <a class="btn btn-danger pull-right" ng-click="ok()">确定</a>
    <a class="btn btn-default pull-left" ng-click="cancel()">取消</a>
    </div>
</script>
<!-- 输入弹窗 -->
<script type="text/ng-template" id="TextModel">
    <div class="modal-header"><h2 class="text-center">否决备注</h2></div>

    <form class="modal-body clearfix">
    <div class="col-xs-12">
    <input type="text" data-ng-model="info" placeholder="请输入否决理由" class="form-control" data-ng-class="{'border-color':hasError}"></div>
    </form>
    <div class="modal-footer">
    <a class="btn btn-danger pull-right" ng-click="ok()">确定</a>
    <a class="btn btn-default pull-left" ng-click="cancel()">取消</a>
    </div>
</script>
